home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-02 / biged.zip / BE.PAS < prev    next >
Pascal/Delphi Source File  |  1990-12-11  |  3KB  |  63 lines

  1. {$A+,B-,D-,E+,F+,I-,L-,N-,O+,R-,S-,V-}
  2. {$M $4000,0,$A0000}
  3.  
  4. {*********************************************}
  5. {*               BE.PAS 1.03a                *}
  6. {*          (includes BEMAIN.PAS)            *}
  7. {*      Copyright (c) Steve Sneed 1990       *}
  8. {*            All rights reserved            *}
  9. {* Requires ObjectProfessional 1.03 or later *}
  10. {*         from TurboPower Software          *}
  11. {*                                           *}
  12. {* Released to TurboPower Software for their *}
  13. {*           use or redistribution           *}
  14. {*********************************************}
  15.  
  16. {*
  17.     This program, along with the accompanying BEMAIN.PAS file and the BIGED
  18.     units, make up a simple IDE for the TurboPascal command line compiler.
  19.     The program spawns TPC via OPro's OpExec facility and "reads" any
  20.     generated report, taking you to the file, line and column of any error
  21.     found.  It also "remembers" the last file you loaded via the F3
  22.     (LoadNew) command and treats that file as the main compile file, and has
  23.     "edit memory" (when reloading a file previously edited, you are returned
  24.     to the line and column where you left, with block and text markers and
  25.     edit options restored).
  26.  
  27.     As the program is configured it expects a TPC.CFG file with all
  28.     nessessary info (paths, compiler directives, etc.) to be available to
  29.     the compiler, and thus provides no command line options itself.  You can
  30.     change the "TPC_Command" const in BEMAIN.PAS if you need to change this
  31.     behavior (or if you want to call TPCX instead of TPC).
  32.  
  33.     BE is a example program, and like BIGED should be considered "rough";
  34.     I'm sure there are still bugs loose in here, and some routines need a
  35.     good dose of optimization.
  36.  
  37.     NOTE: This release is untested with the new Version 6.0 of TP and
  38.     version 1.10 of Object Professional.
  39.  
  40.     Permission is hereby given to TurboPower Software to make this software
  41.     available to its customers, either by inclusion in a "Bonus Disk" in
  42.     software distributed on disk or by inclusion in the library of its
  43.     section of the PCVENB forum on CompuServe.  Distribution by private
  44.     parties is also allowed as long as no charge is made (e.g., via BBS or
  45.     hand-to-hand on disk).  Suggestions, bug reports, gripes and requests
  46.     should be sent to:
  47.  
  48.     Steve Sneed
  49.     CompuServe ID# 70007,3574
  50. *}
  51.  
  52. program BE;
  53.  
  54. uses
  55.   ExecAccess,  {NOTE - See OPro manual 3, pg. 10-33 for this unit}
  56.   BEMain,
  57.   OpExec;
  58.  
  59. begin
  60.   ExecAccess.ExecDOSSwap := OpExec.ExecDOSSwap;
  61.   Main;
  62. end.
  63.